package com.zbkj.common.request;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 品牌商代理设置请求对象
 * </p>
 *
 * @author dazongzi
 * @since 2025-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BrandAgentConfigSaveRequest对象", description="品牌商代理设置请求对象")
public class BrandAgentSaveRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id(仅编辑时必填)")
    private Integer id;

    @ApiModelProperty(value = "标题")
    @NotBlank(message = "标题不能为空")
    private String title;

    @ApiModelProperty(value = "状态（0：关闭，1：开启）")
    private Integer status;

    @ApiModelProperty(value = "区域列表")
    @NotEmpty(message = "请选择地区")
    private List<BrandAgentItemSaveRequest> regionList;

    @ApiModelProperty(value = "所在小区")
    private String community;

    @ApiModelProperty(value = "所在社区/村")
    private String tribe;

}
